{
    // "width": 960,
    "height": 26, // Waybar height (to be removed for auto height)
    "spacing": 16,
    "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "tray"],
    "modules-center": ["sway/window"],
    "modules-right": ["sway/language", "network", "memory", "clock"],
    "layer": "bottom",
    // Modules configuration
    "sway/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "format": "{icon}",
        "on-click": "activate",
        "format-icons": {
            // "10": "OBS",
            "10": "󰃽",
        },
        "persistent-workspaces": {
            "*": [1],
        },
    },
    "sway/mode": {
        "format": "<span color=\"#df715a\">{}</span>",
    },
    "sway/scratchpad": {
        "format": "<span color=\"#5d94dc\">scratchpad:</span> {count}",
    },
    "sway/window": { "max-length": 125 },
    "sway/language": { "format": "{}" },
    "keyboard-state": {
        "numlock": false,
        "capslock": true,
        "format": "{name} {icon}",
        "format-icons": {
            "locked": "L",
            "unlocked": "U",
        },
    },
    "tray": { "spacing": 8 },
    "clock": {
        "tooltip-format": "{calendar}",
        "format-alt": "{:%d.%m.%Y %H:%M}",
    },
    "cpu": {
        "format": "cpu: {}%",
        "format-alt": "cpu: {}%, {avg_frequency}GHz of {max_frequency}GHz",
    },
    "memory": {
        "format": "ram: {percentage}%",
        "format-alt": "ram: {used}GiB of {total}GiB",
    },
    "network": {
        "format-wifi": "{ifname}: {signalStrength}%",
        "format-ethernet": "{ifname}",
        "tooltip-format": "{ifname} via {gwaddr}",
        "format-linked": "{ifname} (no ip)",
        "format-disconnected": "",
        "format-alt": "{ifname}: {ipaddr}/{cidr}",
    },
}
